package com.mes.biz.mapper;

import com.mes.biz.domain.BizPurchase;
import com.mes.common.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.mes.biz.domain.BizPurchaseHead;

import java.util.List;

/**
 * 采购单Mapper接口
 * @author wy
 * @email wy
 * @date 2023-05-19
 */
public interface BizPurchaseMapper extends BaseMapper<BizPurchase>{

    BizPurchase getBizPurchaseByPurchaseCode(@Param("purchaseCode") String purchaseCode);

    /**
     * 查询采购明细数据
     * @param bizPurchase
     * @return
     */
    List listPurchaseStat(BizPurchase bizPurchase);
}
